
check-mount5:     file format elf64-littleaarch64


Disassembly of section .init:

00000000004006b0 <_init>:
  4006b0:	a9bf7bfd 	stp	x29, x30, [sp, #-16]!
  4006b4:	910003fd 	mov	x29, sp
  4006b8:	94000054 	bl	400808 <call_weak_fn>
  4006bc:	a8c17bfd 	ldp	x29, x30, [sp], #16
  4006c0:	d65f03c0 	ret

Disassembly of section .plt:

00000000004006d0 <.plt>:
  4006d0:	a9bf7bf0 	stp	x16, x30, [sp, #-16]!
  4006d4:	90000090 	adrp	x16, 410000 <__FRAME_END__+0xf380>
  4006d8:	f947fe11 	ldr	x17, [x16, #4088]
  4006dc:	913fe210 	add	x16, x16, #0xff8
  4006e0:	d61f0220 	br	x17
  4006e4:	d503201f 	nop
  4006e8:	d503201f 	nop
  4006ec:	d503201f 	nop

00000000004006f0 <fclose@plt>:
  4006f0:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  4006f4:	f9400211 	ldr	x17, [x16]
  4006f8:	91000210 	add	x16, x16, #0x0
  4006fc:	d61f0220 	br	x17

0000000000400700 <fopen@plt>:
  400700:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  400704:	f9400611 	ldr	x17, [x16, #8]
  400708:	91002210 	add	x16, x16, #0x8
  40070c:	d61f0220 	br	x17

0000000000400710 <malloc@plt>:
  400710:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  400714:	f9400a11 	ldr	x17, [x16, #16]
  400718:	91004210 	add	x16, x16, #0x10
  40071c:	d61f0220 	br	x17

0000000000400720 <strncmp@plt>:
  400720:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  400724:	f9400e11 	ldr	x17, [x16, #24]
  400728:	91006210 	add	x16, x16, #0x18
  40072c:	d61f0220 	br	x17

0000000000400730 <__libc_start_main@plt>:
  400730:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  400734:	f9401211 	ldr	x17, [x16, #32]
  400738:	91008210 	add	x16, x16, #0x20
  40073c:	d61f0220 	br	x17

0000000000400740 <memset@plt>:
  400740:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  400744:	f9401611 	ldr	x17, [x16, #40]
  400748:	9100a210 	add	x16, x16, #0x28
  40074c:	d61f0220 	br	x17

0000000000400750 <sleep@plt>:
  400750:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  400754:	f9401a11 	ldr	x17, [x16, #48]
  400758:	9100c210 	add	x16, x16, #0x30
  40075c:	d61f0220 	br	x17

0000000000400760 <system@plt>:
  400760:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  400764:	f9401e11 	ldr	x17, [x16, #56]
  400768:	9100e210 	add	x16, x16, #0x38
  40076c:	d61f0220 	br	x17

0000000000400770 <__gmon_start__@plt>:
  400770:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  400774:	f9402211 	ldr	x17, [x16, #64]
  400778:	91010210 	add	x16, x16, #0x40
  40077c:	d61f0220 	br	x17

0000000000400780 <abort@plt>:
  400780:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  400784:	f9402611 	ldr	x17, [x16, #72]
  400788:	91012210 	add	x16, x16, #0x48
  40078c:	d61f0220 	br	x17

0000000000400790 <__isoc99_sscanf@plt>:
  400790:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  400794:	f9402a11 	ldr	x17, [x16, #80]
  400798:	91014210 	add	x16, x16, #0x50
  40079c:	d61f0220 	br	x17

00000000004007a0 <printf@plt>:
  4007a0:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  4007a4:	f9402e11 	ldr	x17, [x16, #88]
  4007a8:	91016210 	add	x16, x16, #0x58
  4007ac:	d61f0220 	br	x17

00000000004007b0 <fgets@plt>:
  4007b0:	b0000090 	adrp	x16, 411000 <fclose@GLIBC_2.17>
  4007b4:	f9403211 	ldr	x17, [x16, #96]
  4007b8:	91018210 	add	x16, x16, #0x60
  4007bc:	d61f0220 	br	x17

Disassembly of section .text:

00000000004007c0 <_start>:
  4007c0:	d280001d 	mov	x29, #0x0                   	// #0
  4007c4:	d280001e 	mov	x30, #0x0                   	// #0
  4007c8:	aa0003e5 	mov	x5, x0
  4007cc:	f94003e1 	ldr	x1, [sp]
  4007d0:	910023e2 	add	x2, sp, #0x8
  4007d4:	910003e6 	mov	x6, sp
  4007d8:	580000c0 	ldr	x0, 4007f0 <_start+0x30>
  4007dc:	580000e3 	ldr	x3, 4007f8 <_start+0x38>
  4007e0:	58000104 	ldr	x4, 400800 <_start+0x40>
  4007e4:	97ffffd3 	bl	400730 <__libc_start_main@plt>
  4007e8:	97ffffe6 	bl	400780 <abort@plt>
  4007ec:	00000000 	.inst	0x00000000 ; undefined
  4007f0:	00400b14 	.word	0x00400b14
  4007f4:	00000000 	.word	0x00000000
  4007f8:	00400b30 	.word	0x00400b30
  4007fc:	00000000 	.word	0x00000000
  400800:	00400bb0 	.word	0x00400bb0
  400804:	00000000 	.word	0x00000000

0000000000400808 <call_weak_fn>:
  400808:	90000080 	adrp	x0, 410000 <__FRAME_END__+0xf380>
  40080c:	f947f000 	ldr	x0, [x0, #4064]
  400810:	b4000040 	cbz	x0, 400818 <call_weak_fn+0x10>
  400814:	17ffffd7 	b	400770 <__gmon_start__@plt>
  400818:	d65f03c0 	ret
  40081c:	00000000 	.inst	0x00000000 ; undefined

0000000000400820 <deregister_tm_clones>:
  400820:	b0000080 	adrp	x0, 411000 <fclose@GLIBC_2.17>
  400824:	9101e000 	add	x0, x0, #0x78
  400828:	b0000081 	adrp	x1, 411000 <fclose@GLIBC_2.17>
  40082c:	9101e021 	add	x1, x1, #0x78
  400830:	eb00003f 	cmp	x1, x0
  400834:	540000a0 	b.eq	400848 <deregister_tm_clones+0x28>  // b.none
  400838:	90000001 	adrp	x1, 400000 <_init-0x6b0>
  40083c:	f945e821 	ldr	x1, [x1, #3024]
  400840:	b4000041 	cbz	x1, 400848 <deregister_tm_clones+0x28>
  400844:	d61f0020 	br	x1
  400848:	d65f03c0 	ret
  40084c:	d503201f 	nop

0000000000400850 <register_tm_clones>:
  400850:	b0000080 	adrp	x0, 411000 <fclose@GLIBC_2.17>
  400854:	9101e000 	add	x0, x0, #0x78
  400858:	b0000081 	adrp	x1, 411000 <fclose@GLIBC_2.17>
  40085c:	9101e021 	add	x1, x1, #0x78
  400860:	cb000021 	sub	x1, x1, x0
  400864:	9343fc21 	asr	x1, x1, #3
  400868:	8b41fc21 	add	x1, x1, x1, lsr #63
  40086c:	9341fc21 	asr	x1, x1, #1
  400870:	b40000a1 	cbz	x1, 400884 <register_tm_clones+0x34>
  400874:	90000002 	adrp	x2, 400000 <_init-0x6b0>
  400878:	f945ec42 	ldr	x2, [x2, #3032]
  40087c:	b4000042 	cbz	x2, 400884 <register_tm_clones+0x34>
  400880:	d61f0040 	br	x2
  400884:	d65f03c0 	ret

0000000000400888 <__do_global_dtors_aux>:
  400888:	a9be7bfd 	stp	x29, x30, [sp, #-32]!
  40088c:	910003fd 	mov	x29, sp
  400890:	f9000bf3 	str	x19, [sp, #16]
  400894:	b0000093 	adrp	x19, 411000 <fclose@GLIBC_2.17>
  400898:	3941e260 	ldrb	w0, [x19, #120]
  40089c:	35000080 	cbnz	w0, 4008ac <__do_global_dtors_aux+0x24>
  4008a0:	97ffffe0 	bl	400820 <deregister_tm_clones>
  4008a4:	52800020 	mov	w0, #0x1                   	// #1
  4008a8:	3901e260 	strb	w0, [x19, #120]
  4008ac:	f9400bf3 	ldr	x19, [sp, #16]
  4008b0:	a8c27bfd 	ldp	x29, x30, [sp], #32
  4008b4:	d65f03c0 	ret

00000000004008b8 <frame_dummy>:
  4008b8:	17ffffe6 	b	400850 <register_tm_clones>

00000000004008bc <xy_usb_detect_mount>:
  4008bc:	d11103ff 	sub	sp, sp, #0x440
  4008c0:	a9007bfd 	stp	x29, x30, [sp]
  4008c4:	910003fd 	mov	x29, sp
  4008c8:	910043a0 	add	x0, x29, #0x10
  4008cc:	d2808001 	mov	x1, #0x400                 	// #1024
  4008d0:	aa0103e2 	mov	x2, x1
  4008d4:	52800001 	mov	w1, #0x0                   	// #0
  4008d8:	97ffff9a 	bl	400740 <memset@plt>
  4008dc:	b9043fbf 	str	wzr, [x29, #1084]
  4008e0:	f9021bbf 	str	xzr, [x29, #1072]
  4008e4:	f90217bf 	str	xzr, [x29, #1064]
  4008e8:	f90213bf 	str	xzr, [x29, #1056]
  4008ec:	d2800600 	mov	x0, #0x30                  	// #48
  4008f0:	97ffff88 	bl	400710 <malloc@plt>
  4008f4:	f9020fa0 	str	x0, [x29, #1048]
  4008f8:	d2800800 	mov	x0, #0x40                  	// #64
  4008fc:	97ffff85 	bl	400710 <malloc@plt>
  400900:	aa0003e1 	mov	x1, x0
  400904:	f9420fa0 	ldr	x0, [x29, #1048]
  400908:	f9000001 	str	x1, [x0]
  40090c:	d2800200 	mov	x0, #0x10                  	// #16
  400910:	97ffff80 	bl	400710 <malloc@plt>
  400914:	aa0003e1 	mov	x1, x0
  400918:	f9420fa0 	ldr	x0, [x29, #1048]
  40091c:	f9000401 	str	x1, [x0, #8]
  400920:	d2800200 	mov	x0, #0x10                  	// #16
  400924:	97ffff7b 	bl	400710 <malloc@plt>
  400928:	aa0003e1 	mov	x1, x0
  40092c:	f9420fa0 	ldr	x0, [x29, #1048]
  400930:	f9000801 	str	x1, [x0, #16]
  400934:	d2800200 	mov	x0, #0x10                  	// #16
  400938:	97ffff76 	bl	400710 <malloc@plt>
  40093c:	aa0003e1 	mov	x1, x0
  400940:	f9420fa0 	ldr	x0, [x29, #1048]
  400944:	f9000c01 	str	x1, [x0, #24]
  400948:	d2800200 	mov	x0, #0x10                  	// #16
  40094c:	97ffff71 	bl	400710 <malloc@plt>
  400950:	aa0003e1 	mov	x1, x0
  400954:	f9420fa0 	ldr	x0, [x29, #1048]
  400958:	f9001001 	str	x1, [x0, #32]
  40095c:	d2800400 	mov	x0, #0x20                  	// #32
  400960:	97ffff6c 	bl	400710 <malloc@plt>
  400964:	aa0003e1 	mov	x1, x0
  400968:	f9420fa0 	ldr	x0, [x29, #1048]
  40096c:	f9001401 	str	x1, [x0, #40]
  400970:	f9420fa0 	ldr	x0, [x29, #1048]
  400974:	f9400402 	ldr	x2, [x0, #8]
  400978:	90000000 	adrp	x0, 400000 <_init-0x6b0>
  40097c:	912f8001 	add	x1, x0, #0xbe0
  400980:	aa0203e0 	mov	x0, x2
  400984:	b9400022 	ldr	w2, [x1]
  400988:	b9000002 	str	w2, [x0]
  40098c:	b8401021 	ldur	w1, [x1, #1]
  400990:	b8001001 	stur	w1, [x0, #1]
  400994:	f9420fa0 	ldr	x0, [x29, #1048]
  400998:	f9400401 	ldr	x1, [x0, #8]
  40099c:	90000000 	adrp	x0, 400000 <_init-0x6b0>
  4009a0:	912fa000 	add	x0, x0, #0xbe8
  4009a4:	97ffff7f 	bl	4007a0 <printf@plt>
  4009a8:	90000000 	adrp	x0, 400000 <_init-0x6b0>
  4009ac:	912fe000 	add	x0, x0, #0xbf8
  4009b0:	97ffff6c 	bl	400760 <system@plt>
  4009b4:	7100001f 	cmp	w0, #0x0
  4009b8:	54000a61 	b.ne	400b04 <xy_usb_detect_mount+0x248>  // b.any
  4009bc:	90000000 	adrp	x0, 400000 <_init-0x6b0>
  4009c0:	91304001 	add	x1, x0, #0xc10
  4009c4:	90000000 	adrp	x0, 400000 <_init-0x6b0>
  4009c8:	91306000 	add	x0, x0, #0xc18
  4009cc:	97ffff4d 	bl	400700 <fopen@plt>
  4009d0:	f9020ba0 	str	x0, [x29, #1040]
  4009d4:	f9420ba0 	ldr	x0, [x29, #1040]
  4009d8:	f100001f 	cmp	x0, #0x0
  4009dc:	54000841 	b.ne	400ae4 <xy_usb_detect_mount+0x228>  // b.any
  4009e0:	90000000 	adrp	x0, 400000 <_init-0x6b0>
  4009e4:	91306001 	add	x1, x0, #0xc18
  4009e8:	90000000 	adrp	x0, 400000 <_init-0x6b0>
  4009ec:	9130a000 	add	x0, x0, #0xc28
  4009f0:	97ffff6c 	bl	4007a0 <printf@plt>
  4009f4:	12800000 	mov	w0, #0xffffffff            	// #-1
  4009f8:	14000044 	b	400b08 <xy_usb_detect_mount+0x24c>
  4009fc:	d2800602 	mov	x2, #0x30                  	// #48
  400a00:	52800001 	mov	w1, #0x0                   	// #0
  400a04:	f9420fa0 	ldr	x0, [x29, #1048]
  400a08:	97ffff4e 	bl	400740 <memset@plt>
  400a0c:	f9420fa0 	ldr	x0, [x29, #1048]
  400a10:	f9400001 	ldr	x1, [x0]
  400a14:	f9420fa0 	ldr	x0, [x29, #1048]
  400a18:	f9400402 	ldr	x2, [x0, #8]
  400a1c:	f9420fa0 	ldr	x0, [x29, #1048]
  400a20:	f9400803 	ldr	x3, [x0, #16]
  400a24:	f9420fa0 	ldr	x0, [x29, #1048]
  400a28:	f9400c04 	ldr	x4, [x0, #24]
  400a2c:	f9420fa0 	ldr	x0, [x29, #1048]
  400a30:	f9401005 	ldr	x5, [x0, #32]
  400a34:	f9420fa0 	ldr	x0, [x29, #1048]
  400a38:	f9401406 	ldr	x6, [x0, #40]
  400a3c:	90000000 	adrp	x0, 400000 <_init-0x6b0>
  400a40:	91310000 	add	x0, x0, #0xc40
  400a44:	97ffff57 	bl	4007a0 <printf@plt>
  400a48:	f9420fa0 	ldr	x0, [x29, #1048]
  400a4c:	f9400002 	ldr	x2, [x0]
  400a50:	f9420fa0 	ldr	x0, [x29, #1048]
  400a54:	f9400403 	ldr	x3, [x0, #8]
  400a58:	f9420fa0 	ldr	x0, [x29, #1048]
  400a5c:	f9400804 	ldr	x4, [x0, #16]
  400a60:	f9420fa0 	ldr	x0, [x29, #1048]
  400a64:	f9400c05 	ldr	x5, [x0, #24]
  400a68:	f9420fa0 	ldr	x0, [x29, #1048]
  400a6c:	f9401006 	ldr	x6, [x0, #32]
  400a70:	f9420fa0 	ldr	x0, [x29, #1048]
  400a74:	f9401407 	ldr	x7, [x0, #40]
  400a78:	90000000 	adrp	x0, 400000 <_init-0x6b0>
  400a7c:	91318001 	add	x1, x0, #0xc60
  400a80:	910043a0 	add	x0, x29, #0x10
  400a84:	97ffff43 	bl	400790 <__isoc99_sscanf@plt>
  400a88:	f9420fa0 	ldr	x0, [x29, #1048]
  400a8c:	f9400001 	ldr	x1, [x0]
  400a90:	f9420fa0 	ldr	x0, [x29, #1048]
  400a94:	f9400402 	ldr	x2, [x0, #8]
  400a98:	f9420fa0 	ldr	x0, [x29, #1048]
  400a9c:	f9400803 	ldr	x3, [x0, #16]
  400aa0:	f9420fa0 	ldr	x0, [x29, #1048]
  400aa4:	f9400c04 	ldr	x4, [x0, #24]
  400aa8:	f9420fa0 	ldr	x0, [x29, #1048]
  400aac:	f9401005 	ldr	x5, [x0, #32]
  400ab0:	f9420fa0 	ldr	x0, [x29, #1048]
  400ab4:	f9401406 	ldr	x6, [x0, #40]
  400ab8:	90000000 	adrp	x0, 400000 <_init-0x6b0>
  400abc:	91310000 	add	x0, x0, #0xc40
  400ac0:	97ffff38 	bl	4007a0 <printf@plt>
  400ac4:	f9420fa0 	ldr	x0, [x29, #1048]
  400ac8:	f9400003 	ldr	x3, [x0]
  400acc:	90000000 	adrp	x0, 400000 <_init-0x6b0>
  400ad0:	9131e000 	add	x0, x0, #0xc78
  400ad4:	d28000e2 	mov	x2, #0x7                   	// #7
  400ad8:	aa0003e1 	mov	x1, x0
  400adc:	aa0303e0 	mov	x0, x3
  400ae0:	97ffff10 	bl	400720 <strncmp@plt>
  400ae4:	910043a0 	add	x0, x29, #0x10
  400ae8:	f9420ba2 	ldr	x2, [x29, #1040]
  400aec:	52808001 	mov	w1, #0x400                 	// #1024
  400af0:	97ffff30 	bl	4007b0 <fgets@plt>
  400af4:	f100001f 	cmp	x0, #0x0
  400af8:	54fff821 	b.ne	4009fc <xy_usb_detect_mount+0x140>  // b.any
  400afc:	f9420ba0 	ldr	x0, [x29, #1040]
  400b00:	97fffefc 	bl	4006f0 <fclose@plt>
  400b04:	52800000 	mov	w0, #0x0                   	// #0
  400b08:	a9407bfd 	ldp	x29, x30, [sp]
  400b0c:	911103ff 	add	sp, sp, #0x440
  400b10:	d65f03c0 	ret

0000000000400b14 <main>:
  400b14:	a9bf7bfd 	stp	x29, x30, [sp, #-16]!
  400b18:	910003fd 	mov	x29, sp
  400b1c:	97ffff68 	bl	4008bc <xy_usb_detect_mount>
  400b20:	52800040 	mov	w0, #0x2                   	// #2
  400b24:	97ffff0b 	bl	400750 <sleep@plt>
  400b28:	17fffffd 	b	400b1c <main+0x8>
  400b2c:	00000000 	.inst	0x00000000 ; undefined

0000000000400b30 <__libc_csu_init>:
  400b30:	a9bc7bfd 	stp	x29, x30, [sp, #-64]!
  400b34:	910003fd 	mov	x29, sp
  400b38:	a901d7f4 	stp	x20, x21, [sp, #24]
  400b3c:	90000094 	adrp	x20, 410000 <__FRAME_END__+0xf380>
  400b40:	90000095 	adrp	x21, 410000 <__FRAME_END__+0xf380>
  400b44:	91374294 	add	x20, x20, #0xdd0
  400b48:	913722b5 	add	x21, x21, #0xdc8
  400b4c:	a902dff6 	stp	x22, x23, [sp, #40]
  400b50:	cb150294 	sub	x20, x20, x21
  400b54:	f9001ff8 	str	x24, [sp, #56]
  400b58:	2a0003f6 	mov	w22, w0
  400b5c:	aa0103f7 	mov	x23, x1
  400b60:	9343fe94 	asr	x20, x20, #3
  400b64:	aa0203f8 	mov	x24, x2
  400b68:	97fffed2 	bl	4006b0 <_init>
  400b6c:	b4000194 	cbz	x20, 400b9c <__libc_csu_init+0x6c>
  400b70:	f9000bb3 	str	x19, [x29, #16]
  400b74:	d2800013 	mov	x19, #0x0                   	// #0
  400b78:	f8737aa3 	ldr	x3, [x21, x19, lsl #3]
  400b7c:	aa1803e2 	mov	x2, x24
  400b80:	aa1703e1 	mov	x1, x23
  400b84:	2a1603e0 	mov	w0, w22
  400b88:	91000673 	add	x19, x19, #0x1
  400b8c:	d63f0060 	blr	x3
  400b90:	eb13029f 	cmp	x20, x19
  400b94:	54ffff21 	b.ne	400b78 <__libc_csu_init+0x48>  // b.any
  400b98:	f9400bb3 	ldr	x19, [x29, #16]
  400b9c:	a941d7f4 	ldp	x20, x21, [sp, #24]
  400ba0:	a942dff6 	ldp	x22, x23, [sp, #40]
  400ba4:	f9401ff8 	ldr	x24, [sp, #56]
  400ba8:	a8c47bfd 	ldp	x29, x30, [sp], #64
  400bac:	d65f03c0 	ret

0000000000400bb0 <__libc_csu_fini>:
  400bb0:	d65f03c0 	ret

Disassembly of section .fini:

0000000000400bb4 <_fini>:
  400bb4:	a9bf7bfd 	stp	x29, x30, [sp, #-16]!
  400bb8:	910003fd 	mov	x29, sp
  400bbc:	a8c17bfd 	ldp	x29, x30, [sp], #16
  400bc0:	d65f03c0 	ret
